package com.hxkj.service;

import com.hxkj.domain.po.Article;
import com.hxkj.domain.po.Tags;
import com.platform.common.domain.result.ResultPageStruct;
import com.platform.common.domain.to.PageTo;

import java.util.List;

public interface ArticleService {

    /**
     * @author Mr.zheng
     * @Description modifyHeat 根据站点ID和文章ID修改文章热度值
     * @Date 13:54 2018/8/9
     * @Param [article]
     * @return com.hxkj.domain.po.Article
     **/
    Article modifyHeat(Article article) throws Exception;

    /**
     * @author Mr.zheng
     * @Description getHotTagsList 获取热词标签
     * @Date 11:48 2018/9/5
     * @Param [tags, pageParam]
     * @return com.platform.common.domain.result.ResultPageStruct<com.hxkj.domain.po.Tags>
     **/
    ResultPageStruct<Tags> getHotTagsList(Tags tags, PageTo pageParam) throws Exception;

    /**
     * @Description 获取文章类表点击量
     * @Param article
     **/
    List<Integer> getArticleHeat(Article article);
}
